package com.paper.tiger.easy.rpc.core;

import java.io.Serializable;
import java.util.List;

/**
 * [简要描述]:
 * [详细描述]:
 *
 * @author ZouHaiBo
 * @version 1.0, 2021/5/31 09:02
 * @since JDK 1.8
 */
public class GeneralHandleData implements Serializable
{

    /**
     * {@link ServerType}
     */
    private Integer type;

    /**
     * 服务注册信息
     */
    private List<RegisterServerMesage> list ;

    /**
     *  返回结果
     */
    private Boolean result;

    public Boolean getResult()
    {
        return result;
    }

    public void setResult(Boolean result)
    {
        this.result = result;
    }

    public Integer getType()
    {
        return type;
    }

    public void setType(Integer type)
    {
        this.type = type;
    }

    public List<RegisterServerMesage> getList()
    {
        return list;
    }

    public void setList(List<RegisterServerMesage> list)
    {
        this.list = list;
    }

    @Override
    public String toString()
    {
        return "GeneralHandleData{" + "type=" + type + ", list=" + list + ", result=" + result + '}';
    }
}
